import 'package:json_annotation/json_annotation.dart';

part 'add_task.g.dart';

@JsonSerializable()
class AddTask {
  AddTask(this.taskName, this.remark);

  String taskName;
  String remark;

  factory AddTask.fromJson(Map<String, dynamic> json) => _$AddTaskFromJson(json);
  Map<String, dynamic> toJson() => _$AddTaskToJson(this);
}